package com.ruoyi.patient.entity;

import com.ruoyi.service.domain.ServiceCombo;
import com.ruoyi.service.domain.ServiceItems;

import java.util.List;

/**
 * 服务项目及套餐列表返回体
 *
 * @author ZDL
 */
public class ItemsListReturn extends ServiceItems {

    //服务项目下套餐
    private List<ServiceCombo> combos;

    public List<ServiceCombo> getCombos() {
        return combos;
    }
    public void setCombos(List<ServiceCombo> combos) {
        this.combos = combos;
    }

    public ItemsListReturn(ServiceItems newItemsList)
    {
        this.setItemId(newItemsList.getItemId());
        this.setItemName(newItemsList.getItemName());
        this.setItemPrice(newItemsList.getItemPrice());
        this.setItemPicture(newItemsList.getItemPicture());
        this.setItemTip(newItemsList.getItemTip());
        this.setItemDescription(newItemsList.getItemDescription());
        this.setItemCategory(newItemsList.getItemCategory());
        this.setItemUseFlag(newItemsList.getItemUseFlag());
        this.setItemDelFlag(newItemsList.getItemDelFlag());
        this.setItemRemark(newItemsList.getItemRemark());
        this.setItemCreateBy(newItemsList.getItemCreateBy());
        this.setItemCreateTime(newItemsList.getItemCreateTime());
        this.setItemUpdateBy(newItemsList.getItemUpdateBy());
        this.setItemUpdateTime(newItemsList.getItemUpdateTime());
    }

}
